package com.wz.utils.batch.service.impl;


import com.wz.utils.batch.service.ProductService;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;


@Component
public class ProductServiceImpl implements ProductService {


    @Override
    @Transactional(propagation = Propagation.REQUIRES_NEW)
    public void getProductValue() {
        System.out.println("aaaa");
    }
}
